#!/bin/bash

TAP=tap2

# /24 = 0
# /25 = 128
# /26 = 192
# /27 = 224
# /28 = 240
# /29 = 248
# /30 = 252

# Host C:
# Pertenece a la red O

# Tablas de ruteo
# La red D no existe
# Redes G, H, I, K, F son PPP
# Salen por R14: 10.134.13.133
# Red L
route add -net 10.9.1.224 netmask 255.255.255.224 gw 10.134.13.133 $TAP
# Red M
route add -net 10.11.22.0 netmask 255.255.255.0 gw 10.134.13.133 $TAP
# Red N
route add -net 10.134.13.16 netmask 255.255.255.240 gw 10.134.13.133 $TAP

#Salen por R13: 10.134.13.132
# Red A
route add -net 10.9.12.192 netmask 255.255.255.224 gw 10.134.13.132 $TAP 
# Red B
route add -net 10.11.23.0 netmask 255.255.255.0 gw 10.134.13.132 $TAP  
# Red C
route add -net 192.168.53.0 netmask 255.255.255.0 gw 10.134.13.132 $TAP 
# Red E
route add -net 10.134.1.0 netmask 255.255.255.0 gw 10.134.13.132 $TAP 
# Red J 
route add -net 10.134.13.192 netmask 255.255.255.224 gw 10.134.13.132 $TAP
# Red P
route add -net 10.134.5.128 netmask 255.255.255.128 gw 10.134.13.132 $TAP
